package org.chispa.api.domain;
/**
 * 
 * @author bgabor
 *@deprecated
 */
class MockedNumberRetriever implements NumberRetriever {

	//TODO FIXME MOCKED, use real values
	@Override
	public DomainParameter queryParams(String uuid, String ns, String param) {
		DomainParameter dpar=new DomainParameter();
		dpar.setBinNumEnc(param.equals("price")?"10":"5");
		dpar.setLowerEnc(param.equals("price")?"0.0d":"500.0d");
		dpar.setName(param);
		dpar.setNs(ns);
		dpar.setUuid(uuid);
		dpar.setUpperEnc(param.equals("price")?"5000.0d":"3000.0d");
		return dpar;
	}

	@Override
	public void addData(DomainParameter data) {
		System.out.println("To kill a MOCKingbird");
	}

}
